package com.chat.login;

import com.chat.common.handler.global_exception.auto_configuration.EnableGlobalExceptionHandler;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 管理用户的登陆注册和认证
 */
@SpringBootApplication
@MapperScan("com.chat.login.mapper")
@EnableGlobalExceptionHandler//改包名后要用
public class LoginServiceApplication {
    public static void main(String[] args) {
        SpringApplication.run(LoginServiceApplication.class, args);
    }
}